package bean;

/**
 * This is a bean for items. An item means a key-value pair in the parameter or
 * response in an interface.
 * 
 * @author issuser
 * 
 */
public class Item {
	private String name;
	private String value;
	private Item parentItem;
	private String parentItemId;
	private String type;
	private String id;
	private String maxLength;
	private String minLength;
	private String nullable;
	private String defaultValue;
	private String testCaseTemplateId;
	private String commonInterfaceId;
	private String nodeType;
	private String dataType;
	private String format;

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public Item getParentItem() {
		return parentItem;
	}

	public void setParentItem(Item parentItem) {
		this.parentItem = parentItem;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public String getMaxLength() {
		return maxLength;
	}

	public void setMaxLength(String maxLength) {
		this.maxLength = maxLength;
	}

	public String getMinLength() {
		return minLength;
	}

	public void setMinLength(String minLength) {
		this.minLength = minLength;
	}

	public String getNullable() {
		return nullable;
	}

	public void setNullable(String nullable) {
		this.nullable = nullable;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}

	public String getNodeType() {
		return nodeType;
	}

	public void setParentItemId(String parentItemId) {
		this.parentItemId = parentItemId;
	}

	public String getParentItemId() {
		return parentItemId;
	}

	public void setTestCaseTemplateId(String testCaseTemplateId) {
		this.testCaseTemplateId = testCaseTemplateId;
	}

	public String getTestCaseTemplateId() {
		return testCaseTemplateId;
	}

	public void setCommonInterfaceId(String commonInterfaceId) {
		this.commonInterfaceId = commonInterfaceId;
	}

	public String getCommonInterfaceId() {
		return commonInterfaceId;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}
}
